<div class="layui-fluid">
    <div class="layui-card">
      <div class="layui-card-body">
        <form class="layui-form" action="<?=url('ordergoods/edit');?>">
          <input type="hidden" name="id" value="<?=$info['id']?>" />
          <div class="layui-form-item">
            <label class="layui-form-label">下单人</label>
            <div class="layui-input-block">
              <input type="text" value="姓名:<?=$info['uname']?> 电话:<?=$info['uphone']?> 等级:<?=c("type.user_level")[$info['ulevel']]?>" disabled="disabled" autocomplete="off" class="layui-input">
            </div>
          </div>
          <div class="layui-form-item">
            <label class="layui-form-label">服务项目</label>
            <div class="layui-input-block">
              <input type="text" value="项目:<?=$info['gtitle']?> 参考价:<?=$info['gmoney']?>" disabled="disabled" autocomplete="off" class="layui-input">
            </div>
          </div>
          <div class="layui-form-item">
            <label class="layui-form-label">服务人</label>
            <div class="layui-input-block">
              <input type="text" value="公司:<?=$info['ctitle']?> 服务人:<?=$info['wname']?>" disabled="disabled" autocomplete="off" class="layui-input">
            </div>
          </div>
          <div class="layui-form-item">
            <label class="layui-form-label">客户姓名</label>
            <div class="layui-input-block">
              <input type="text" name="fw_name" value="<?=$info['fw_name']?>" placeholder="请输入客户姓名"  autocomplete="off" class="layui-input">
            </div>
          </div>
          <div class="layui-form-item">
            <label class="layui-form-label">客户电话</label>
            <div class="layui-input-block">
              <input type="text" name="fw_phone" value="<?=$info['fw_phone']?>" placeholder="请输入客户电话"  autocomplete="off" class="layui-input">
            </div>
          </div>
          <div class="layui-form-item">
            <label class="layui-form-label">服务地址</label>
            <div class="layui-input-block">
              <input type="text" name="fw_address" value="<?=$info['fw_address']?>" placeholder="请输入服务地址"  autocomplete="off" class="layui-input">
            </div>
          </div>
          <div class="layui-form-item">
            <label class="layui-form-label">服务次数</label>
            <div class="layui-input-block">
              <input type="text" name="fw_times" value="<?=$info['fw_times']?>" required lay-verify="required" placeholder="请输入服务次数"  autocomplete="off" class="layui-input">
            </div>
          </div>
          <div class="layui-form-item">
            <div class="layui-inline">
              <label class="layui-form-label">开始时间</label>
              <div class="layui-input-inline">
                <input type="text" id="min_time" name="start_time"  value="<?=date("Y-m-d H:i:s",$info['start_time'])?>"  placeholder="开始时间" class="layui-input">
              </div>
            </div>
            <div class="layui-inline">
              <label class="layui-form-label">结束时间</label>
              <div class="layui-input-inline">
                <input type="text" id="max_time" name="end_time"  value="<?=date("Y-m-d H:i:s",$info['end_time'])?>"  placeholder="开始时间" class="layui-input">
              </div>
            </div>
          </div>
          <div class="layui-form-item">
            <label class="layui-form-label">服务价格</label>
            <div class="layui-input-block">
              <input type="text" name="price" required lay-verify="required"  value="<?=$info['price']?>"  placeholder="请输入服务价格"  autocomplete="off" class="layui-input">
            </div>
          </div>
          <div class="layui-form-item">
            <label class="layui-form-label">成本价格</label>
            <div class="layui-input-block">
              <input type="text" name="cost_price" required lay-verify="required"  value="<?=$info['cost_price']?>"  placeholder="请输入成本价格"  autocomplete="off" class="layui-input">
            </div>
          </div>
          <div class="layui-form-item">
            <label class="layui-form-label">备注</label>
            <div class="layui-input-block">
              <textarea placeholder="请输入备注" name="note" class="layui-textarea"><?=$info['note']?></textarea>
            </div>
          </div>
          <div class="layui-form-item">
            <div class="layui-input-block">
              <button class="layui-btn" lay-submit lay-filter="myform">立即提交</button>
              <button type="reset" class="layui-btn layui-btn-primary">重置</button>
            </div>
          </div>
        </form>
      </div>
    </div>
</div>
<script>
layui.use(['form'], function(){
  var $ = layui.$
  ,form = layui.form;
  form.render();
  //var ue = UE.getEditor('container');
});
</script>
